home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Information / CSMP Digest / volume 1 / csmp-v1-125.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  42.1 KB  |  1,170 lines  |  [TEXT/R*ch]

  1. C.S.M.P. Digest             Sun, 28 Jun 92       Volume 1 : Issue 125
  2.  
  3. Today's Topics:
  4.  
  5.     developing FBAs
  6.     SUMMARY: marching ants/vbl task and a followup question
  7.     More MPW Linking Blues
  8.     Zortech C++ & MacApp 3
  9.     New Technology to Support Porting to PowerPC-Based Macintosh
  10.     TimeMgr and Spurious Interrupt
  11.     Sound channel allocation failure
  12.     where to find ASP/AFP *server* docs?
  13.     background application
  14.     Comments please: Entity-relationship diagramming tools
  15.     Source Code Request Summary (thermometer indicators)
  16.  
  17.  
  18. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  19.  
  20. These digests are available (by using FTP, account anonymous, your email
  21. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  22. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  23. Questions list.  The last several issues of the digest are available from
  24. sumex-aim.stanford.edu as well.
  25.  
  26. These digests are also available via email.  Just send a note saying that you
  27. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  28. automatically receive each new digest as it is created.
  29.  
  30. The digest is a collection of articles from the internet newsgroup comp.sys.
  31. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  32. and want an archive of the discussions.  If you don't know what a newsgroup
  33. is, you probably don't have access to it.  Ask your systems administrator(s)
  34. for details.  (This means you can't post questions to the digest.)
  35.  
  36. The articles in these digests are taken directly from comp.sys.mac.programmer.
  37. They are not edited; all articles included in this digest are in their original
  38. posted form.  The only articles that are -not- included in these digests are
  39. those which didn't receive any replies (except those that give information
  40. rather than ask a question).  All replies to each article are concatenated
  41. onto the original article in the order in which they were received.  Article
  42. threads are not added to the digests until the last article added to the
  43. thread is at least one month old (this is to ensure that the thread is dead
  44. before adding it to the digests).
  45.  
  46. Send administrative mail to mkelly@cs.uoregon.edu.
  47.  
  48. -------------------------------------------------------
  49.  
  50. From: francois@welchgate.welch.jhu.edu (Francois Schiettecatte)
  51. Subject: developing FBAs
  52. Organization: Johns Hopkins Univ. Welch Medical Library
  53. Date: Tue, 26 May 1992 13:02:20 GMT
  54.  
  55.  
  56.  
  57.  
  58. First I would like to thank all who have responded to my call
  59. for help of a crashing FBA (error 28). The problem was due
  60. to a bad use of stack space on my part. This has now been
  61. remedied and the application works like a charm. Below is a 
  62. list of things to look out for when developing an FBA.
  63.  
  64.  
  65. Some guidelines:
  66.  
  67. Faceless background apps can
  68. - - call InitGraf
  69. - - do anything a normal app can do, except...
  70.  
  71. FBAs cannot
  72. - - call InitWindows or InitMenus (or just about any other Init____ call)
  73. - - use any quickdraw routine which draws
  74. - - make any call (other than posting a notification) which might
  75.   display a dialog (this limits their use for sending Apple events)
  76.  
  77.  
  78. Background only apps get a default stack size of 8k.  This is also the
  79. default stack size of an application running on a classic QuickDraw
  80. machine.  When on a color QuickDraw ROM, the stack size defaults to 24k.
  81. I suspect that you're application is using too much stack space.
  82.  
  83. Allocate your large data structures in the heap instead as local variables.
  84.  
  85.  
  86.  
  87. You can also increase the stack space allocated to an application:
  88.  
  89.     SetApplLimit(ptr(StackPtr - 20000));
  90.     MaxApplZone;
  91.     MoreMasters;
  92.     MoreMasters;
  93.     MoreMasters;
  94.  
  95. Where the 20000 is the amount of stack space required.  The StackPtr
  96. can be got with the following pascal inline procedure:
  97.  
  98.     function StackPtr: longInt;
  99.     inline
  100.         $2E8F;
  101.  
  102.  
  103. In C, things are slightly different:
  104.  
  105.     SetApplLimit((Ptr)GetApplLimit() - 24576L));
  106.     MaxApplZone;
  107.     MoreMasters;
  108.     MoreMasters;
  109.     MoreMasters;
  110.  
  111. This will increase the stack space to 24K.
  112.  
  113.  
  114. Also you may want to refer yourself to the 9th issue of Develop
  115. which has a very good article on developing FBAs. 
  116.  
  117.  
  118. Credits and thanks go to the following people:
  119.  
  120. Grobbins             Apple
  121. Jim Reekes        Apple
  122. Peter N Lewis        NCRPDA, Curtin University
  123.  
  124.  
  125.  
  126.  
  127. Francois Schiettecatte
  128. Software Engineer
  129. Welch Medical Library
  130. Johns Hopkins University
  131. Internet: francois@library.welch.jhu.edu
  132. Phone    : (410) 955-7581
  133.  
  134.  
  135. ---------------------------
  136.  
  137. From: andre@flash.cs.pitt.edu (Andre "A Mac Plumber" Srinivasan)
  138. Subject: SUMMARY: marching ants/vbl task and a followup question
  139. Date: 26 May 92 13:29:58 GMT
  140. Organization: Acme Plumbing Services And Exploding Cigars
  141.  
  142.  
  143. thanks to all that reponded to my question concerning marching ants as
  144. a vbl task.  basically, i shouldn't do this: you're not supposed to
  145. call quickdraw routines at interrupt time since some of the routines
  146. can potentially move memory and leave the heap in an inconsistent
  147. state.
  148.  
  149. questions 1 and 2 were answered by a number of people.  question 3 was
  150. never addressed.  
  151.  
  152. > 1) when a pulldown menu overlaps the ants, the ants just march right
  153. > over the menu.  it looks like i will have to remove the task when a
  154. > mouse down occurs and then install it again afterward.
  155.  
  156. from Larry Rosenstein:
  157.  
  158. The Menu Manager draws directly to the screen under the assumption that nothing
  159. else can draw at the same time.
  160.  
  161. > 2) nothing selected from the apple menu works while my application is
  162. > in the foreground.  when it is suspended, all of these selections that
  163. > i made are launched.
  164.  
  165. most people agreed with Phil Shapiro who said it best:
  166.  
  167. This is most likely being caused by a pending update event for your
  168. application that you're ignoring. If there are any pending update
  169. events for you app, then no background tasking will occur. The DA
  170. launching mechanism depends on background tasking; I've seen this
  171. exact bug in action before.
  172.  
  173. > 3) when i switch to the finder and then return to my app, the ants
  174. > don't march very fast at all; they crawl very slowly.  if i switch to
  175. > some other app and then return, i don't have this problem.
  176.  
  177. this question was never answered.  at this point i'm just curious why
  178. this happens.  anyone have any insight?
  179.  
  180. thanks again.
  181.  
  182.                                 -andre.
  183.  
  184. - --
  185. Andre Srinivasan  :
  186. 734 LRDC          :         This Space For Rent
  187. U. of Pittsburgh  :
  188. andre@cs.pitt.edu :
  189.  
  190. ---------------------------
  191.  
  192. From: killer@wimpy (karl kowalski)
  193. Subject: More MPW Linking Blues
  194. Organization: The Aerospace Corporation; El Segundo, CA
  195. Date: Fri, 15 May 1992 17:58:07 GMT
  196.  
  197. Anyone have any comments on MPW's rather amusing behavior?
  198.  
  199. I've set up a resource file (using ResEdit) that includes a SIZE resource,  
  200. 'cause my program requires a little more than the default application SIZE  
  201. given it as an APPL from MPW. Unfortunately, the final application as  
  202. created by MPW only gets the default (384k) application size. When I look  
  203. at the resources in the linked app, the SIZE resource does in fact contain  
  204. the very size I had hoped would end up in the little box at the bottom of  
  205. the Get Info window of the selected application. Anyone have any idea why  
  206. MPW blatantly ignores the SIZE resource in the linked-in resource file?
  207.  
  208. In other news, it seems that although I've requested the C compiler to use  
  209. the -mc68881 option when doing its thing, the makefile as created by MPW's  
  210. CreateMake interface doesn't include the required Libraries in the Link  
  211. statement (i.e., it should have things like CSANELib881.o and Math881.o;  
  212. instead, it uses CSANELib.o and Math.o, ditto StdCLib.o; it doesn't think  
  213. about including CLib881.o at all). Is it just me, or have I got a bogus  
  214. MPW and should be thinking about radical action against Apple (please  
  215. excuse the potential extreme tone of the last statement; I live in L.A.,  
  216. and lately we're prone to a little extremism)?
  217.  
  218. Cheers,
  219.  
  220. Karl G "Killer" Kowalski
  221.  
  222. killer@aerospace.aero.org
  223. killer@wimpy.aero.org (NeXT mail)
  224.  
  225. +++++++++++++++++++++++++++
  226.  
  227. From: absurd@applelink.apple.com (Tim Dierks, software saboteur)
  228. Date: 28 May 92 01:27:51 GMT
  229. Organization: MacDTS Misfits
  230.  
  231. In article <1992May15.175807.2943@speedy.aero.org>, killer@wimpy (karl kowalski) writes:
  232. > Anyone have any comments on MPW's rather amusing behavior?
  233. > I've set up a resource file (using ResEdit) that includes a SIZE resource,  
  234. > 'cause my program requires a little more than the default application SIZE  
  235. > given it as an APPL from MPW. Unfortunately, the final application as  
  236. > created by MPW only gets the default (384k) application size. When I look  
  237. > at the resources in the linked app, the SIZE resource does in fact contain  
  238. > the very size I had hoped would end up in the little box at the bottom of  
  239. > the Get Info window of the selected application. Anyone have any idea why  
  240. > MPW blatantly ignores the SIZE resource in the linked-in resource file?
  241. > In other news, it seems that although I've requested the C compiler to use  
  242. > the -mc68881 option when doing its thing, the makefile as created by MPW's  
  243. > CreateMake interface doesn't include the required Libraries in the Link  
  244. > statement (i.e., it should have things like CSANELib881.o and Math881.o;  
  245. > instead, it uses CSANELib.o and Math.o, ditto StdCLib.o; it doesn't think  
  246. > about including CLib881.o at all). Is it just me, or have I got a bogus  
  247. > MPW and should be thinking about radical action against Apple (please  
  248. > excuse the potential extreme tone of the last statement; I live in L.A.,  
  249. > and lately we're prone to a little extremism)?
  250.  
  251. Pardon the delay, I'm running a little late on news.
  252.  
  253. 1) MPW doesn't have anything to do with your app's partition; that's all
  254.    handled by the Process Manager and the Finder.  If you included a
  255.    'SIZE' resource, ID -1, properly laid out, then everything should be
  256.    OK.  If not, it's not MPW's fault, as long as the resource actually
  257.    made it into the resource fork of the linked application.
  258.  
  259. 2) If, when you use "Create Build Commands..." off of the default "Build"
  260.    menu, you check the radio button marked "mc68881", the script will
  261.    insert the correct libraries for the 881 option; I just tried it.
  262.    This is handled by these lines in the CreateMake script:
  263.  
  264.  If {hardwareFloat} == 1
  265.   Set cFloatLib '{CLibraries}Clib881.o {CLibraries}CSANELib881.o {CLibraries}Math881.o d
  266.    #{CLibraries}Complex881.o'
  267.   Set cplusFloatLib '{CLibraries}Clib881.o {CLibraries}CSANELib881.o {CLibraries}Math881.o d
  268.    {CLibraries}CplusLib881.o #{CLibraries}Complex881.o'
  269.   Set pFloatLib '{PLibraries}SANELib881.o'
  270.  End
  271.     
  272.     (Replace leading spaces with tabs; the d's near the end are option-d's.
  273.  
  274.     If your script doesn't contain these lines, it's been modified; you
  275.     should reinstall it off of your original disks.
  276.  
  277. Hope this helps (TM)
  278.  
  279. Tim Dierks
  280. MacDTS
  281.  
  282.  
  283. ---------------------------
  284.  
  285. From: draper@odin.mda.uth.tmc.edu (E.J. Draper)
  286. Subject: Zortech C++ & MacApp 3
  287. Date: 22 May 1992 20:00:45 GMT
  288. Organization: U.T.M.D. Anderson Cancer Center
  289.  
  290.  
  291.  
  292.  Does anyone have any experience with Zortech C++ and MacApp 3?
  293.  And, if so:
  294. 1) Does it significatly reduce build times?
  295. 2) Does it a make the build process any more of a hassle? (eg. requires
  296. extensive changes to MABuild )
  297. 3) Is the code as good (or hopefully better) than MPW?s?
  298. 3) Is it worth the money?
  299.  
  300. Ed
  301.  
  302. +++++++++++++++++++++++++++
  303.  
  304. From: ksand@apple.com (Kent Sandvik)
  305. Date: 26 May 92 20:05:54 GMT
  306. Organization: MacDTS Mongols
  307.  
  308. In article <6625@lib.tmc.edu>, draper@odin.mda.uth.tmc.edu (E.J. Draper) writes:
  309. >  Does anyone have any experience with Zortech C++ and MacApp 3?
  310. >  And, if so:
  311. > 1) Does it significatly reduce build times?
  312. > 2) Does it a make the build process any more of a hassle? (eg. requires
  313. > extensive changes to MABuild )
  314. > 3) Is the code as good (or hopefully better) than MPW?s?
  315. > 3) Is it worth the money?
  316.  
  317.    As I know the current Zortech C++ for MPW does not support MacApp 3.0.
  318. The hooks are in place, but there are still some problems with 
  319. PascalObject support and the compiler. 
  320.  
  321.    I did testing with the compiler earlier on my own framework (C++ all
  322. the way), it's certainly faster than MPW C++ with load/dump, however
  323. the speed was slightly faster, not radically faster. Didn't see any
  324. speedup differences in the code produced, either.
  325.  
  326.    The ultimate question is if it's worth switching to a new compiler, 
  327. than using one debugged by Apple frequently :-).
  328. - --
  329.                                               Cheers, Kent
  330.  
  331. PS: Private comments
  332.  
  333. ---------------------------
  334.  
  335. From: joeo@cbnewsi.cb.att.com (joseph.m.orost)
  336. Subject: New Technology to Support Porting to PowerPC-Based Macintosh
  337. Date: 26 May 92 16:23:10 GMT
  338. Organization: Echo Logic
  339.  
  340. NEWS RELEASE
  341.  
  342.           ECHO LOGIC(TM), AN AT&T VENTURE, ANNOUNCES COOPERATIVE
  343.          DEVELOPMENT AGREEMENT WITH APPLE TO PROVIDE SOFTWARE
  344.            TRANSLATION TOOLS FOR PowerPC(TM)-BASED MACINTOSH(TM)
  345.  
  346.      Echo Logic's Innovative FlashPort(TM) Technology Provides Macintosh
  347.  Software Developers with Fast and Accurate Translation of ``Shrink-Wrapped''
  348.                          Macintosh Applications
  349.  
  350. HOLMDEL, N.J., May 4, 1992...Echo Logic, at AT&T venture, today announced an
  351. agreement with Apple Computer, Inc. to cooperatively develop an innovative
  352. set of porting tools enabling the translation of current binary ``shrink-
  353. wrapped'' Macintosh applications to run on the future PowerPC-based
  354. Macintosh.
  355.  
  356. Using Echo Logic's toolset called FlashPort, Macintosh software developers
  357. will be able to translate the binary versions of their applications in a
  358. matter of days, dramatically reducing the time required to make their
  359. software available on the PowerPC-based Macintosh platform.
  360.  
  361. According to Echo Logic President Brad Burnham, ``We are pleased to be
  362. working with Apple to develop a Macintosh version of FlashPort.  This first
  363. use of FlashPort will accelerate the availability of current Macintosh
  364. applications so that the future PowerPC-based Macintosh will have a full
  365. suite of software available at product introduction.''
  366.  
  367. ``Availability of FlashPort will be a boon to Macintosh developers,'' said
  368. Roger Heinen, senior vice president and general manager of Apple's Macintosh
  369. software architecture division.  ``This binary translation tool promises to
  370. let developers quickly and inexpensively bring to market versions of their
  371. applications that take advantage of the PowerPC performance.  Meanwhile,
  372. these developers can focus resources on enriching their applications with
  373. new features that become possible with PowerPC performance.''
  374.  
  375. Echo Logic's development team capitalized on recent advances in data flow
  376. analysis and compiler technology, to develop a toolset which is automatic
  377. enough to be broadly distributed to software developers.  FlashPort will
  378. require minimal human intervention, and will generate an identical
  379. application for the PowerPC-based Macintosh that is competitive with
  380. hand-ported code in performance and size.
  381.  
  382. According to Chris Macey, Echo Logic's chief scientist. ``FlashPort can
  383. translate any Macintosh program written in any language, from assembler to
  384. C, so developers can continue to work with their current software
  385. development tools.''
  386.  
  387. Echo Logic has demonstrated the technology to several developers and plans
  388. to make alpha versions of the toolset available to a limited number of
  389. developers later this year.  FlashPort will be generally available in the
  390. second quarter of 1993.
  391.  
  392. ``Of all the approaches to re-hosting software that have emerged over the
  393. last several years, Echo Logic is the only company that will put a binary
  394. software translation toolset in our hands.  We are very excited about that
  395. because it will make it much easier for us to control the quality of our
  396. product,'' said Nolan Larsen, Director on Macintosh Development, WordPerfect
  397. Corporation.
  398.  
  399. ``We have been following Echo Logic's progress for the last several months
  400. and are impressed with their technology,'' said Yuko Takagi, product manager
  401. for 1-2-3 for Macintosh at Lotus Development Corporation.  ``It is likely
  402. that many application vendors, including Lotus, will be evaluating its
  403. potential for migrating Macintosh applications to the new PowerPC
  404. architecture.''
  405.  
  406. Echo Logic, based in Holmdel, N.J., was founded in August of 1991.  It is a
  407. development-stage company backed by the AT&T Ventures Corporation.
  408.  
  409. Contact:
  410.  
  411. Pam Karmazsin
  412. Echo Logic, Inc.
  413. (908) 946-1130
  414.  
  415. Brian Cohen/Jill Balmuth
  416. Technology Solutions, Inc./PR
  417. (212) 505-9900
  418.  
  419. Nancy Morrison
  420. Apple Computer, Inc.
  421. (408) 862-6200
  422.  
  423. +++++++++++++++++++++++++++
  424.  
  425. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  426. Date: 26 May 92 20:13:46 GMT
  427. Organization: Royal Institute of Technology, Stockholm, Sweden
  428.  
  429. > joeo@cbnewsi.cb.att.com (joseph.m.orost) writes:
  430.  
  431.    Using Echo Logic's toolset called FlashPort, Macintosh software developers
  432.    will be able to translate the binary versions of their applications in a
  433.    matter of days, dramatically reducing the time required to make their
  434.    software available on the PowerPC-based Macintosh platform.
  435.  
  436. I've heard and seen enough of this to be convinced it actually will work
  437. well enough. HOWEVER:
  438.  
  439.    enough to be broadly distributed to software developers.  FlashPort will
  440.    require minimal human intervention, and will generate an identical
  441.    application for the PowerPC-based Macintosh that is competitive with
  442.    hand-ported code in performance and size.
  443.  
  444. Well, at least 80-90%, which is good enough. However, it's not a
  445. drag-and-drop translator, you might need a few days of human
  446. intervention. Still nifty and time-saving, though !
  447.  
  448.    Echo Logic has demonstrated the technology to several developers and plans
  449.    to make alpha versions of the toolset available to a limited number of
  450.    developers later this year.  FlashPort will be generally available in the
  451.    second quarter of 1993.
  452.  
  453. Only problem is, it only runs on RS/6000 boxes, a $50,000 each...
  454. or you can go to them and get it ported. Wonder how many porting
  455. centres there will be in Sweden ? :-(
  456.  
  457. - -- 
  458. h++ - new and improved !
  459.  
  460. A Bus Station is where buses stop. A Train Station is where
  461. trains stop. On my desk, there is a Work Station.
  462.  
  463. +++++++++++++++++++++++++++
  464.  
  465. From: ksand@apple.com (Kent Sandvik)
  466. Date: 27 May 92 00:57:04 GMT
  467. Organization: MacDTS Mongols
  468.  
  469. In article <D88-JWA.92May26211346@dront.nada.kth.se>, d88-jwa@dront.nada.kth.se
  470. (Jon W{tte) writes:
  471. > Only problem is, it only runs on RS/6000 boxes, a $50,000 each...
  472. > or you can go to them and get it ported. Wonder how many porting
  473. > centres there will be in Sweden ? :-(
  474.  
  475. Would one be enough (Stockholm?), this is actually a serious question
  476. because I could push for more centers worldwide? Actually most of the
  477. evangelistic force behind the PowerPC RISC machine are former Europeans
  478. so we should know about the costs of high end RISC boxes over there.
  479. - --
  480.                                               Cheers, Kent
  481.  
  482.  
  483.  
  484. +++++++++++++++++++++++++++
  485.  
  486. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  487. Date: 27 May 92 13:53:26 GMT
  488. Organization: Royal Institute of Technology, Stockholm, Sweden
  489.  
  490. > ksand@apple.com (Kent Sandvik) writes:
  491.  
  492.    > Only problem is, it only runs on RS/6000 boxes, a $50,000 each...
  493.    > or you can go to them and get it ported. Wonder how many porting
  494.    > centres there will be in Sweden ? :-(
  495.  
  496.    Would one be enough (Stockholm?), this is actually a serious question
  497.    because I could push for more centers worldwide? Actually most of the
  498.    evangelistic force behind the PowerPC RISC machine are former Europeans
  499.    so we should know about the costs of high end RISC boxes over there.
  500.  
  501.  
  502. Erh... I believe that's the AMERICAN price...
  503.  
  504. Anyway, I personally don't make business decisions, I just
  505. design and hack (and get paid :-) but since we're located
  506. in Stockholm, that's fine by me :-)
  507.  
  508. - -- 
  509. h++ - new and improved !
  510.  
  511. A Bus Station is where buses stop. A Train Station is where
  512. trains stop. On my desk, there is a Work Station.
  513.  
  514. ---------------------------
  515.  
  516. From: Steve Kohlmeyer
  517. Subject: TimeMgr and Spurious Interrupt
  518. Date: 19 May 92 18:05:33 GMT
  519. Organization: University of Minnesota
  520.  
  521. Netters -- 
  522.   
  523.    I am using the TimeMgr to periodically read data from my National 
  524. Instruments AD board.  Then this data is passed through some routines
  525. to clean it up.  I never call any Toolbox functions from within this 
  526. TimeMgr task and I feel certain that none of my routines cause the 
  527. MemoryMgr to be activated.  The problem is that ocasionally the program 
  528. crashes and leaves me in MacsBug with the following message:
  529.   "Spurious Interrupt or Uninitialized Interrupt Vector at 
  530.    00431246 'code 0002 046A' +119E" 
  531.  
  532. First of all, what does this message mean?  Secondly, what is causing
  533. it and how can I avoid it?  I am running system 7 on a IIci, using 
  534. Think C 5.
  535.  
  536. Thanks for the help.
  537.  
  538. Steve Kohlmeyer
  539. U of MN
  540. steve@mind.psych.umn.edu
  541.  
  542.  
  543. +++++++++++++++++++++++++++
  544.  
  545. From: REEKES@applelink.apple.com (Jim Reekes)
  546. Date: 22 May 92 02:48:04 GMT
  547. Organization: Apple Computer, Inc.
  548.  
  549. In article <1992May19.180533.12434@news2.cis.umn.edu>, Steve Kohlmeyer writes:
  550. > Netters -- 
  551. >   
  552. >    I am using the TimeMgr to periodically read data from my National 
  553. > Instruments AD board.  Then this data is passed through some routines
  554. > to clean it up.  I never call any Toolbox functions from within this 
  555. > TimeMgr task and I feel certain that none of my routines cause the 
  556. > MemoryMgr to be activated.  The problem is that ocasionally the program 
  557. > crashes and leaves me in MacsBug with the following message:
  558. >   "Spurious Interrupt or Uninitialized Interrupt Vector at 
  559. >    00431246 'code 0002 046A' +119E" 
  560. > First of all, what does this message mean?  Secondly, what is causing
  561. > it and how can I avoid it?  I am running system 7 on a IIci, using 
  562. > Think C 5.
  563.  
  564. It could mean many differenct things.  One idea that comes to mind is
  565. that you've made a SANE or FPU call at interrupt level.  This can cause
  566. and FPU exception and there isn't an exception vector installed to
  567. handle this, so it's labled "spurious interrupt or uninitialized
  568. interrupt vector" by MacsBug.  TMON on the other hand will provide you
  569. with more information as to what the actual exception was.
  570.  
  571. With out any further information from you, it's all just a guessing
  572. game at this point.  What was the code you're trying to execute?
  573. What exactly does you're task do?
  574.  
  575.  
  576. - -----------------------------------------------------------------------
  577. Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
  578.                              |          Sound Manager Expert
  579. Apple Computer, Inc.         | "All opinions expressed are mine, and do
  580. 20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
  581. Cupertino, CA 95014          |       employer, Apple Computer Inc."
  582.  
  583. +++++++++++++++++++++++++++
  584.  
  585. From: mandel@vax.anes.tulane.edu (Jeff E Mandel)
  586. Date: 27 May 92 20:11:01 GMT
  587. Organization: Tulane University School of Medicine
  588.  
  589. In article <25507@goofy.Apple.COM> REEKES@applelink.apple.com (Jim Reekes)
  590. writes:
  591. >In article <1992May19.180533.12434@news2.cis.umn.edu>, Steve Kohlmeyer writes:
  592. >> 
  593. >> Netters -- 
  594. >>   
  595. >>    I am using the TimeMgr to periodically read data from my National 
  596. >> Instruments AD board.  Then this data is passed through some routines
  597. >> to clean it up.  I never call any Toolbox functions from within this 
  598. >> TimeMgr task and I feel certain that none of my routines cause the 
  599. >> MemoryMgr to be activated.  The problem is that ocasionally the program 
  600. >> crashes and leaves me in MacsBug with the following message:
  601. >>   "Spurious Interrupt or Uninitialized Interrupt Vector at 
  602. >>    00431246 'code 0002 046A' +119E" 
  603. >> 
  604. >> First of all, what does this message mean?  Secondly, what is causing
  605. >> it and how can I avoid it?  I am running system 7 on a IIci, using 
  606. >> Think C 5.
  607. >
  608. >It could mean many differenct things.  One idea that comes to mind is
  609. >that you've made a SANE or FPU call at interrupt level.  This can cause
  610. >and FPU exception and there isn't an exception vector installed to
  611. >handle this, so it's labled "spurious interrupt or uninitialized
  612. >interrupt vector" by MacsBug.  TMON on the other hand will provide you
  613. >with more information as to what the actual exception was.
  614. >
  615. >With out any further information from you, it's all just a guessing
  616. >game at this point.  What was the code you're trying to execute?
  617. >What exactly does you're task do?
  618.  
  619. This is probably correct; I've encountered this before. Generally, the problem
  620. is that you have code which calls the FPU, an interrupt is asserted, and the
  621. interrupt-level code calls the FPU. This hoses the FPU internal state, and
  622. dispatches you to the error handler. There are a whole bunch of errors which
  623. are grouped together under the heading of System Error 11; figuring out which
  624. one is the problem. To this end, I developed a quick and dirty debugger
  625. extension; the code is appended. By calling the PROC startup, the Exception
  626. Vector table (see MC68020 User's Manual, 2nd Edition, section 6.2 (what, you
  627. don't eep yours handy?)) is patched. I have patched the ones related to the
  628. 68881,
  629. and fixed it so it breaks to MacsBug and does an IP on the address that caused
  630. the error.
  631. This address can be found in the StackFrame, as well as the VectorOffset, which
  632. tells you the exact error (I use the term "exact" advisedly).
  633.  
  634. Incidentally, don't use the Time Manager to drive the sampling from the NB-MIO;
  635. it has a timer which can be programmed to generate an interrupt when it
  636. samples. Most importantly, this timer is never preempted by disk activity,
  637. sound manager, serial lines, page faults, etc. As long as you service the
  638. interrupt before the next sample is obtained, your sampling rate stays
  639. rock-steady.
  640.  
  641. Good luck,
  642.  
  643.  
  644. Jeff E Mandel MD MS
  645. Associate Professor of Anesthesiology
  646. Tulane University School of Medicine
  647. New Orleans, LA
  648.  
  649. mandel@vax.anes.tulane.edu
  650.  
  651. - --------------------------------------------------------------------------------
  652. - --------
  653.     Machine        MC68020  ; kind of dates the code, doesn't it?
  654.     MC68881
  655.  
  656.     PRINT        OFF
  657.     INCLUDE    'Traps.a'
  658.     INCLUDE    'ToolEqu.a'
  659.     INCLUDE    'QuickEqu.a'
  660.     INCLUDE    'SysEqu.a'
  661.     INCLUDE    'SysErr.a'
  662.     LOAD    'FlowCtlMacs.d'
  663.     PRINT    ON
  664.  
  665. *  The stackframe for the routine.
  666.  
  667. StackFrame    RECORD    0
  668. StatusReg    DS.W    1
  669. ProgCounter    DS.L    1
  670. VectorOffsetDS.W    1
  671. Instruction    DS.L    1
  672. InternalRegsDS.L    2
  673.     ENDR
  674.  
  675.     
  676. disaster    PROC    Export
  677.     
  678.     With    StackFrame
  679.     
  680.     MOVE.L    Instruction(SP),A0
  681.     MOVE.W    VectorOffset(SP),D1
  682.     AND.W    #$FFF,D1
  683.     Switch# D1
  684.     Case#.S    $0C0
  685.         PEA        #'Branch Error;IP A0'
  686.         _DebugStr
  687.         Leave#.S
  688.     Case#.S    $0C4
  689.         PEA        #'Inexact result Error;IP A0'
  690.         _DebugStr
  691.         Leave#.S
  692.     Case#.S    $0C8
  693.         PEA        #'Divide by zero Error;IP A0'
  694.         _DebugStr
  695.         Leave#.S
  696.     Case#.S    $0CC
  697.         PEA        #'Underflow Error;IP A0'
  698.         _DebugStr
  699.         Leave#.S
  700.     Case#.S    $0D0
  701.         PEA        #'Operand Error;IP A0'
  702.         _DebugStr
  703.         Leave#.S
  704.     Case#.S    $0D4
  705.         PEA        #'Overflow Error;IP A0'
  706.         _DebugStr
  707.         Leave#.S
  708.     Case#.S    $0D8
  709.         PEA        #'Not a number;IP A0'
  710.         _DebugStr
  711.         Leave#.S
  712.     Case#.S    $034
  713.         PEA        #'Coprocessor protocol error;IP A0'
  714.         _DebugStr
  715.         Leave#.S
  716.     Case#.S    $038
  717.         PEA        #'Format error;IP A0'
  718.         _DebugStr
  719.         Leave#.S
  720.     Default#.S
  721.         PEA        #'No Idea;IP A0'
  722.         _DebugStr
  723.     EndS#
  724.  
  725.     RTE
  726.     End
  727.  
  728. StartUp    PROC    EXPORT
  729.     MOVE.L    A0,-(SP)
  730.     
  731. *  Patch the low memory interrupt dispatch table so 68881 coprocessor
  732. exceptions
  733. *  give us meaningful messages
  734.  
  735.     LEA        disaster,A0
  736.     MOVE.L    A0,$0C0
  737.     MOVE.L    A0,$0C4
  738.     MOVE.L    A0,$0C8
  739.     MOVE.L    A0,$0CC
  740.     MOVE.L    A0,$0D0
  741.     MOVE.L    A0,$0D4
  742.     MOVE.L    A0,$0D8
  743.     MOVE.L    A0,$034
  744.     MOVE.L    A0,$038
  745.  
  746.     MOVE.L    (SP)+,A0
  747.     RTS
  748.     
  749.     ENDP
  750.     END
  751.  
  752. ---------------------------
  753.  
  754. From: ross@turock.psych.upenn.edu (Ross Porter)
  755. Subject: Sound channel allocation failure
  756. Date: 22 May 92 16:41:01 GMT
  757. Organization: University of Pennsylvania
  758.  
  759.  
  760. I have a piece of code that allocates and uses all four channels
  761. that works just fine on the IIci. However when the same piece of
  762. code is run on an SE/30 or an LC only three of the channels are
  763. allocated and used. The fourth channel allocation call returns
  764. NIL.
  765.  
  766. Any ideas?  Thanks in advance.
  767.  
  768. Ross
  769.  
  770.  
  771. +++++++++++++++++++++++++++
  772.  
  773. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  774. Organization: Kalamazoo College
  775. Date: Fri, 22 May 1992 18:34:13 GMT
  776.  
  777. ross@turock.psych.upenn.edu (Ross Porter) writes:
  778. >
  779. >I have a piece of code that allocates and uses all four channels
  780. >that works just fine on the IIci. However when the same piece of
  781. >code is run on an SE/30 or an LC only three of the channels are
  782. >allocated and used. The fourth channel allocation call returns
  783. >NIL.
  784.  
  785. If these channels are of type sampledSnyth, that's because the Sound
  786. Manager takes quite a bit of CPU time for each channel, and won't
  787. allocate more channels than the CPU can handle.  A IIci can do four mono
  788. channels and the LC only three because of the speed difference.
  789.  
  790. If they're type waveTableSynth (which "all four channels" would imply),
  791. I've never encountered this problem, but I remember someone else
  792. mentioning something about not getting the fourth channel allocated.
  793. (Paul Potts?  Toby Smith maybe?  Whoever you are, did you fix it?  :-)
  794. - -- 
  795.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  796.  "Also thanks to:  Inside Macintosh (except vol. V, ch. 27)"
  797.    - the Tesserae "About..." box
  798.  
  799. +++++++++++++++++++++++++++
  800.  
  801. From: REEKES@applelink.apple.com (Jim Reekes)
  802. Date: 25 May 92 20:30:29 GMT
  803. Organization: Apple Computer, Inc.
  804.  
  805. In article <78727@netnews.upenn.edu>, ross@turock.psych.upenn.edu (Ross Porter) writes:
  806. > I have a piece of code that allocates and uses all four channels
  807. > that works just fine on the IIci. However when the same piece of
  808. > code is run on an SE/30 or an LC only three of the channels are
  809. > allocated and used. The fourth channel allocation call returns
  810. > NIL.
  811.  
  812. If you check the error being returned by _SndNewChannel you should
  813. find that it's giving you notEnoughHardware errors.  This is because
  814. the CPU loading factor for the extra channel was to great of a load
  815. and the Sound Manager will not allow another channel to be allocated.
  816. It all depends on the CPU performance capibilities of the machine you
  817. are running.
  818.  
  819. You can reduce the amount of CPU bandwidth required for a channel
  820. by turning off linear interpolation.  Set the initNoInterp bit of the
  821. initOptions field when calling SndNewChannel.  This may allow you to
  822. allocate an additional channel on the machine since without interpolating
  823. you'll have more CPU time left over.
  824.  
  825.  
  826. - -----------------------------------------------------------------------
  827. Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
  828.                              |          Sound Manager Expert
  829. Apple Computer, Inc.         | "All opinions expressed are mine, and do
  830. 20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
  831. Cupertino, CA 95014          |       employer, Apple Computer Inc."
  832.  
  833.  
  834.  
  835. +++++++++++++++++++++++++++
  836.  
  837. From: potts@itl.itd.umich.edu (Paul Potts)
  838. Organization: Instructional Technology Laboratory, University of Michigan
  839. Date: Tue, 26 May 92 18:43:00 GMT
  840.  
  841. In article <1992May22.183413.17520@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  842. >ross@turock.psych.upenn.edu (Ross Porter) writes:
  843. >>
  844.  
  845. <Jamie McCarthy's lucid comments omitted)
  846.  
  847. >
  848. >If they're type waveTableSynth (which "all four channels" would imply),
  849. >I've never encountered this problem, but I remember someone else
  850. >mentioning something about not getting the fourth channel allocated.
  851. >(Paul Potts?  Toby Smith maybe?  Whoever you are, did you fix it?  :-)
  852.  
  853. Nope. It seemed to vary from machine to machine. Some of our IIci machines
  854. simply wouldn't allocate four channels. It's possible another application
  855. was stealing a channel. 
  856.  
  857.  
  858. - -- 
  859. Paul R. Potts, Software Designer --- potts@itl.itd.umich.edu <--- me!
  860.  
  861. +++++++++++++++++++++++++++
  862.  
  863. From: zobkiw@world.std.com (Joe Zobkiw)
  864. Date: 27 May 92 12:50:55 GMT
  865. Organization: The World Public Access UNIX, Brookline, MA
  866.  
  867. What error is being returned? If it is a notEnoughHardware error it may
  868. have to do ith CPU load more than anything.
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875. - -- 
  876. - -- joe zobkiw                      Internet: zobkiw@world.std.com
  877. - --                                      AOL: AFL Zobkiw  
  878. - -- mac.synthesis.MIDI.THINK C.OOP.asm   CI$: 70712,515 
  879. - -- communications.networks.cool tunes...
  880.  
  881. ---------------------------
  882.  
  883. From: rrwood@uuisis.isis.org (Roy Wood)
  884. Subject: where to find ASP/AFP *server* docs?
  885. Date: 23 May 92 14:00:39 GMT
  886. Organization: International Shared Information Service (Ottawa)
  887.  
  888. I'm looking for documentation on the *server* side protocols for the ASP/AFP
  889. package (AppleTalk Session Protocol/AppleTalk Filing Protocol).  Inside Mac
  890. volume V describes the workstation side interface, and alludes that the
  891. server side exists, but doesn't say any more than that!  I haven't noticed
  892. anything available from APDA (save a package for writing Unix servers to
  893. interface with ASP/AFP!), or from the ftp-able files on ftp.apple.com.
  894.  
  895. Would someone please tell me what manual to RTFM?  Help!
  896.  
  897. - -Roy Wood
  898.  
  899. +++++++++++++++++++++++++++
  900.  
  901. From: peirce@outpost.SF-Bay.org (Michael Peirce)
  902. Date: 24 May 92 18:34:19 GMT
  903. Organization: Peirce Software
  904.  
  905.  
  906. In article <4qc9kB3w164w@uuisis.isis.org> (comp.sys.mac.programmer), rrwood@uuisis.isis.org (Roy Wood) writes:
  907. > I'm looking for documentation on the *server* side protocols for the ASP/AFP
  908. > package (AppleTalk Session Protocol/AppleTalk Filing Protocol).  Inside Mac
  909. > volume V describes the workstation side interface, and alludes that the
  910. > server side exists, but doesn't say any more than that!  I haven't noticed
  911. > anything available from APDA (save a package for writing Unix servers to
  912. > interface with ASP/AFP!), or from the ftp-able files on ftp.apple.com.
  913. > Would someone please tell me what manual to RTFM?  Help!
  914.  
  915. Sorry, there isn't one.  The closest they come is in Inside AppleTalk.
  916.  
  917. If you want to use these protocols on the server side you'll have
  918. to roll your own.
  919.  
  920. I doubt you'll see anything over time either.  ASP has some
  921. problems (throughput isn't very good) and Apple is using ADSP
  922. new things.  I'd evaluate using ADSP before you take the plunge
  923. of figuring out ASP!
  924.  
  925. - --  Michael Peirce      --   peirce@outpost.SF-Bay.org
  926. - --  Peirce Software     --   Suite 301, 719 Hibiscus Place
  927. - --  Makers of...        --   San Jose, California USA 95117
  928. - --                      --   voice: (408) 244-6554 fax: (408) 244-6882
  929. - --     SMOOTHIE         --   AppleLink: peirce & America Online: AFC Peirce
  930.  
  931. +++++++++++++++++++++++++++
  932.  
  933. From: rich@grayhawk.rent.com (Richard Harms)
  934. Date: 27 May 92 04:55:47 GMT
  935. Organization: Des Moines, Iowa, Public Access Unix; 515/277-6753
  936.  
  937. In article <D2150035.4a8dbg@outpost.SF-Bay.org> peirce@outpost.SF-Bay.org (Michael Peirce) writes:
  938. >In article <4qc9kB3w164w@uuisis.isis.org> (comp.sys.mac.programmer), rrwood@uuisis.isis.org (Roy Wood) writes:
  939. >> I'm looking for documentation on the *server* side protocols for the ASP/AFP
  940. >> package (AppleTalk Session Protocol/AppleTalk Filing Protocol).  Inside Mac
  941. >> volume V describes the workstation side interface, and alludes that the
  942. >> server side exists, but doesn't say any more than that!  I haven't noticed
  943. >> anything available from APDA (save a package for writing Unix servers to
  944. >> interface with ASP/AFP!), or from the ftp-able files on ftp.apple.com.
  945. >> 
  946. >> Would someone please tell me what manual to RTFM?  Help!
  947. >
  948. >Sorry, there isn't one.  The closest they come is in Inside AppleTalk.
  949. >
  950. >If you want to use these protocols on the server side you'll have
  951. >to roll your own.
  952.  
  953. You might take a brief look at CAP available from ftp.rutgers.edu(?)... its
  954. a unix implementation of a number of AppleTalk things, including an
  955. AppleShare server (aufs).
  956.  
  957. - -rh
  958.  
  959. - -- 
  960. Richard R. Harms            Internet: r-harms@grayhawk.rent.com 
  961. 1217 24th, Suite 49             UUCP: {...}!{rutgers!bobsbox}!grayhawk!rich
  962. Des Moines, Iowa 50311       AOnline: Grayhawk             AppleLink: D2656 
  963.                                  Fax: 515/884-2736       Unix: 515/277-6753
  964.  
  965. ---------------------------
  966.  
  967. From: francois@welchgate.welch.jhu.edu (Francois Schiettecatte)
  968. Subject: background application
  969. Organization: Johns Hopkins Univ. Welch Medical Library
  970. Date: Fri, 22 May 1992 21:49:14 GMT
  971.  
  972. I am currently writting a faceless background application and I am 
  973. having problems with it. When I set it up so that it runs in the
  974. forground so that I can see debug output in a window it works fine,
  975. but when I remove all the code (using compiler defines) and set the 
  976. background only bit on, it crashes with a error 28. The crash 
  977. happens always in the same spot. This application requires about
  978. 200k of memory to run (that leave me plenty of memory to use in
  979. for variables and stuff like that). Is there something obvious
  980. that I have missed.
  981.  
  982. A bit more on the application, it sits in the background and listens
  983. out to apple events and responds to them, it launches fine and will 
  984. respond to a few event before crashing (when in background mode).
  985.  
  986. Could it be something to do with the SIZE resource?
  987.  
  988. francois
  989.  
  990.  
  991.  
  992. +++++++++++++++++++++++++++
  993.  
  994. From: REEKES@applelink.apple.com (Jim Reekes)
  995. Date: 25 May 92 20:33:19 GMT
  996. Organization: Apple Computer, Inc.
  997.  
  998. In article <1992May22.214914.5865@welchgate.welch.jhu.edu>, francois@welchgate.welch.jhu.edu (Francois Schiettecatte) writes:
  999. > I am currently writting a faceless background application and I am 
  1000. > having problems with it. When I set it up so that it runs in the
  1001. > forground so that I can see debug output in a window it works fine,
  1002. > but when I remove all the code (using compiler defines) and set the 
  1003. > background only bit on, it crashes with a error 28. The crash 
  1004. > happens always in the same spot. This application requires about
  1005. > 200k of memory to run (that leave me plenty of memory to use in
  1006. > for variables and stuff like that). Is there something obvious
  1007. > that I have missed.
  1008. > A bit more on the application, it sits in the background and listens
  1009. > out to apple events and responds to them, it launches fine and will 
  1010. > respond to a few event before crashing (when in background mode).
  1011. > Could it be something to do with the SIZE resource?
  1012. > francois
  1013.  
  1014. Background only apps get a default stack size of 8k.  This is also the
  1015. default stack size of an application running on a classic QuickDraw
  1016. machine.  When on a color QuickDraw ROM, the stack size defaults to 24k.
  1017. I suspect that you're application is using too much stack space.
  1018.  
  1019. Allocate your large data structures in the heap instead as local variables.
  1020.  
  1021. - -----------------------------------------------------------------------
  1022. Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
  1023.                              |          Sound Manager Expert
  1024. Apple Computer, Inc.         | "All opinions expressed are mine, and do
  1025. 20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
  1026. Cupertino, CA 95014          |       employer, Apple Computer Inc."
  1027.  
  1028.  
  1029.  
  1030. +++++++++++++++++++++++++++
  1031.  
  1032. From: REEKES@applelink.apple.com (Jim Reekes)
  1033. Date: 26 May 92 19:55:35 GMT
  1034. Organization: Apple Computer, Inc.
  1035.  
  1036. In article <25633@goofy.Apple.COM>, REEKES@applelink.apple.com (Jim Reekes) writes:
  1037. > In article <1992May22.214914.5865@welchgate.welch.jhu.edu>, francois@welchgate.welch.jhu.edu (Francois Schiettecatte) writes:
  1038. > > 
  1039. > > I am currently writting a faceless background application and I am 
  1040. > > having problems with it. When I set it up so that it runs in the
  1041. > > forground so that I can see debug output in a window it works fine,
  1042. > > but when I remove all the code (using compiler defines) and set the 
  1043. > > background only bit on, it crashes with a error 28. The crash 
  1044. > > happens always in the same spot. This application requires about
  1045. > > 200k of memory to run (that leave me plenty of memory to use in
  1046. > > for variables and stuff like that). Is there something obvious
  1047. > > that I have missed.
  1048. > > 
  1049. > > A bit more on the application, it sits in the background and listens
  1050. > > out to apple events and responds to them, it launches fine and will 
  1051. > > respond to a few event before crashing (when in background mode).
  1052. > > 
  1053. > > Could it be something to do with the SIZE resource?
  1054. > > 
  1055. > > francois
  1056. > Background only apps get a default stack size of 8k.  This is also the
  1057. > default stack size of an application running on a classic QuickDraw
  1058. > machine.  When on a color QuickDraw ROM, the stack size defaults to 24k.
  1059. > I suspect that you're application is using too much stack space.
  1060. > Allocate your large data structures in the heap instead as local variables.
  1061.  
  1062.  
  1063. Corrrection... This time with feeling...
  1064.  
  1065. The default stack size for background-only or faceless tasks is NOT 8k.
  1066. The default stack size is 0x800 bytes, or 2k.  Sorry for the confusion.
  1067.  
  1068. - -----------------------------------------------------------------------
  1069. Jim Reekes, Polterzeitgeist  |     Macintosh Toolbox Engineering
  1070.                              |          Sound Manager Expert
  1071. Apple Computer, Inc.         | "All opinions expressed are mine, and do
  1072. 20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
  1073. Cupertino, CA 95014          |       employer, Apple Computer Inc."
  1074.  
  1075.  
  1076.  
  1077. ---------------------------
  1078.  
  1079. From: zdlc03@trc.amoco.com (Dan L. Cummings)
  1080. Subject: Comments please: Entity-relationship diagramming tools
  1081. Date: 27 May 92 02:54:11 GMT
  1082. Organization: Amoco Production Company, Tulsa Research
  1083.  
  1084. I would like to hear your opinions on Entity-relationship
  1085. diagramming tools or on more elaborate CASE tools that include
  1086. ER capability.
  1087.  
  1088. I would prefer something that runs on the Mac, but I can also consider
  1089. Unix if the tool uses X-windows.
  1090.  
  1091. Thanks in advance,
  1092. Dan    <<<< dcummings@trc.amoco.com
  1093. Path: zslg01
  1094. From: zslg01@hou.amoco.com (Steve Garwood)
  1095.  
  1096. From: zjlb0a@trc.amoco.com (Joseph L. Burnham)
  1097. Path: zjlb0a
  1098.  
  1099. ---------------------------
  1100.  
  1101. From: sho@gibbs.physics.purdue.edu (Sho Kuwamoto)
  1102. Subject: Source Code Request Summary (thermometer indicators)
  1103. Date: 27 May 92 02:04:51 GMT
  1104. Organization: Purdue Univ. Physics Dept, W.Lafayette, IN
  1105.  
  1106. Ok.  I dug around in the Finder to get the sizes and colors
  1107. used for the thermometer bar, and wrote a THINK C class that
  1108. handles thermometer dialog boxes.  If anyone is interested,
  1109. mail me and I'll send you the code.
  1110.  
  1111. So, is there a central depository for TCL classes?
  1112.  
  1113. - -Sho
  1114. - --
  1115. sho@physics.purdue.edu
  1116.  
  1117. +++++++++++++++++++++++++++
  1118.  
  1119. From: hickey@lando.nrl.navy.mil (Vince Hickey)
  1120. Date: 27 May 92 16:24:11 GMT
  1121.  
  1122.  
  1123.   I would love to see the source code for the thermometer indicators.  Could 
  1124. you BinHex it and mail it to me.
  1125. Thanks in advance.
  1126.  
  1127. Vince
  1128.  
  1129. +++++++++++++++++++++++++++
  1130.  
  1131. From: ksand@apple.com (Kent Sandvik)
  1132. Date: 28 May 92 01:05:03 GMT
  1133. Organization: MacDTS Mongols
  1134.  
  1135. In article <7486@dirac.physics.purdue.edu>, sho@gibbs.physics.purdue.edu (Sho
  1136. Kuwamoto) writes:
  1137. > Ok.  I dug around in the Finder to get the sizes and colors
  1138. > used for the thermometer bar, and wrote a THINK C class that
  1139. > handles thermometer dialog boxes.  If anyone is interested,
  1140. > mail me and I'll send you the code.
  1141. > So, is there a central depository for TCL classes?
  1142.  
  1143. Yes, ftp.brown.edu.
  1144. - --
  1145.                                               Cheers, Kent
  1146.  
  1147.  
  1148.  
  1149. ---------------------------
  1150.  
  1151. End of C.S.M.P. Digest
  1152. **********************
  1153.